package com.et114.components.export.pdf;

import com.lowagie.text.Element;
import com.lowagie.text.Font;
import com.lowagie.text.Paragraph;

/**
 * @author guanhw 2006
 * 
 * TODO To change the template for this generated type comment go to Window -
 * Preferences - Java - Code Style - Code Templates
 */
public class PDFParagragh extends Paragraph {
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 6535155522639999546L;
	public PDFParagragh ( String content , int alignment , int fontSize ) {
		super( content, PDFChineseFont.createChineseFont( fontSize, Font.NORMAL ) );
		setAlignment( alignment );
	}

	public static final int	CENTER	= Element.ALIGN_CENTER;
	public static final int	LEFT	= Element.ALIGN_LEFT;
	public static final int	RIGHT	= Element.ALIGN_RIGHT;
	public static final int	TOP		= Element.ALIGN_TOP;
	public static final int	MIDDLE	= Element.ALIGN_MIDDLE;
	public static final int	BOTTOM	= Element.ALIGN_BOTTOM;

}
